/* General Styles */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #e9bd71 50%, #6fa1da 50%);
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    margin: 50px 0 20px;
    text-align: center;
    font-size: 2rem;
    color: #000;
    font-weight: bold;
}

/* Carousel Styling */
.carousel {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.scroll-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 15px;
}

.card {
    min-width: 300px;
    max-width: 300px;
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
    transition: all 0.3s ease-in-out;
}

.card img {
    border-radius: 20px 20px 0 0;
    width: 100%;
    height: auto;
}

.card:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.05);
}

.card .btn {
    background-color: #d19f48;
    color: #fff;
    text-decoration: none;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

.card .btn:hover {
    background-color: #000;
    color: #fff;
}




/* Arrow Buttons */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: background-color 0.3s ease-in-out;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        min-width: 80%;
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.5rem;
    }

    .card {
        min-width: 90%;
        max-width: 90%;
    }
}


.scroll-container {
    display: flex;
    gap: 15px; /* Add a consistent gap between cards */
    overflow: hidden;
    scroll-behavior: smooth; /* Enables smooth transitions */
    white-space: nowrap; /* Prevents wrapping of elements */
}

.card {
    flex-shrink: 0;
    width: 22rem;
    background-color: #000;
    color: #fff;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}
.scroll-container {
    display: flex;
    transition: none; /* Avoid conflicts with infinite scroll */
    overflow: hidden;
    scroll-behavior: smooth; /* For smoother manual navigation */
    white-space: nowrap;
}

.card {
    flex-shrink: 0;
    width: 300px;
    margin-right: 15px;
}
